Something like this kind of elementary natural selection has been duplicated in the test-tube. There is a virus called Q-beta which lives as a parasite of the gut bacterium Escherichia coli. Q-beta has no DNA but it does contain, indeed it largely consists of, a single strand of the related molecule RNA. RNA is capable of being replicated in a similar way to DNA.